package com.xywl.escort.view.user.login;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.LoginReq;
import com.xywl.escort.bean.LoginResp;

public interface LoginContract {

    interface Presenter extends BasePresenter {
        void takeView(LoginContract.View view);

        void login(LoginReq req);
    }

    interface View extends BaseView<Presenter> {
        void loginSuccess(LoginResp.DataBean dataBean);

        void loginFailure(String msg);
    }
}